Optimal. Leaf size=128 \[ -\frac{5 a^3 b \sqrt{a \sin (e+f x)}}{6 f \sqrt{b \sec (e+f x)}}+\frac{5 a^4 \sqrt{\sin (2 e+2 f x)} F\left (\left .e+f x-\frac{\pi }{4}\right |2\right ) \sqrt{b \sec (e+f x)}}{12 f \sqrt{a \sin (e+f x)}}-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.214773, antiderivative size = 128, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.16, Rules used = {2583, 2585, 2573, 2641} \[ -\frac{5 a^3 b \sqrt{a \sin (e+f x)}}{6 f \sqrt{b \sec (e+f x)}}+\frac{5 a^4 \sqrt{\sin (2 e+2 f x)} F\left (\left .e+f x-\frac{\pi }{4}\right |2\right ) \sqrt{b \sec (e+f x)}}{12 f \sqrt{a \sin (e+f x)}}-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2583
Rule 2585
Rule 2573
Rule 2641
Rubi steps
\begin{align*} \int \sqrt{b \sec (e+f x)} (a \sin (e+f x))^{7/2} \, dx &=-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}}+\frac{1}{6} \left (5 a^2\right ) \int \sqrt{b \sec (e+f x)} (a \sin (e+f x))^{3/2} \, dx\\ &=-\frac{5 a^3 b \sqrt{a \sin (e+f x)}}{6 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}}+\frac{1}{12} \left (5 a^4\right ) \int \frac{\sqrt{b \sec (e+f x)}}{\sqrt{a \sin (e+f x)}} \, dx\\ &=-\frac{5 a^3 b \sqrt{a \sin (e+f x)}}{6 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}}+\frac{1}{12} \left (5 a^4 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \int \frac{1}{\sqrt{b \cos (e+f x)} \sqrt{a \sin (e+f x)}} \, dx\\ &=-\frac{5 a^3 b \sqrt{a \sin (e+f x)}}{6 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}}+\frac{\left (5 a^4 \sqrt{b \sec (e+f x)} \sqrt{\sin (2 e+2 f x)}\right ) \int \frac{1}{\sqrt{\sin (2 e+2 f x)}} \, dx}{12 \sqrt{a \sin (e+f x)}}\\ &=-\frac{5 a^3 b \sqrt{a \sin (e+f x)}}{6 f \sqrt{b \sec (e+f x)}}-\frac{a b (a \sin (e+f x))^{5/2}}{3 f \sqrt{b \sec (e+f x)}}+\frac{5 a^4 F\left (\left .e-\frac{\pi }{4}+f x\right |2\right ) \sqrt{b \sec (e+f x)} \sqrt{\sin (2 e+2 f x)}}{12 f \sqrt{a \sin (e+f x)}}\\ \end{align*}
Mathematica [C] time = 0.871719, size = 90, normalized size = 0.7 \[ \frac{a^3 b \sqrt{a \sin (e+f x)} \left (5 \left (-\tan ^2(e+f x)\right )^{3/4} \csc ^2(e+f x) \, _2F_1\left (\frac{1}{2},\frac{3}{4};\frac{3}{2};\sec ^2(e+f x)\right )+2 (\cos (2 (e+f x))-6)\right )}{12 f \sqrt{b \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.158, size = 212, normalized size = 1.7 \begin{align*} -{\frac{\sqrt{2}}{12\,f \left ( \sin \left ( fx+e \right ) \right ) ^{3} \left ( -1+\cos \left ( fx+e \right ) \right ) } \left ( 5\,\sin \left ( fx+e \right ) \sqrt{{\frac{1-\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) }{\sin \left ( fx+e \right ) }}}\sqrt{{\frac{-1+\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) }{\sin \left ( fx+e \right ) }}}\sqrt{{\frac{-1+\cos \left ( fx+e \right ) }{\sin \left ( fx+e \right ) }}}{\it EllipticF} \left ( \sqrt{{\frac{1-\cos \left ( fx+e \right ) +\sin \left ( fx+e \right ) }{\sin \left ( fx+e \right ) }}},1/2\,\sqrt{2} \right ) -2\,\sqrt{2} \left ( \cos \left ( fx+e \right ) \right ) ^{4}+2\,\sqrt{2} \left ( \cos \left ( fx+e \right ) \right ) ^{3}+7\,\sqrt{2} \left ( \cos \left ( fx+e \right ) \right ) ^{2}-7\,\sqrt{2}\cos \left ( fx+e \right ) \right ) \left ( a\sin \left ( fx+e \right ) \right ) ^{{\frac{7}{2}}}\sqrt{{\frac{b}{\cos \left ( fx+e \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (f x + e\right )} \left (a \sin \left (f x + e\right )\right )^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (a^{3} \cos \left (f x + e\right )^{2} - a^{3}\right )} \sqrt{b \sec \left (f x + e\right )} \sqrt{a \sin \left (f x + e\right )} \sin \left (f x + e\right ), x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]